<?php
session_start();
require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'../model/Service/ShippmentPlanService.php';
require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'../model/Context/BaseContext.php';
require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'../model/ServiceResult/ServiceResult.php';

$shippmentPlanService = new ShippmentPlanService();
if(isset($_POST['startDate']))
{
	$context = new BaseContext();
	$result = new ServiceResult();
	$startDate = $_POST['startDate'];
	$containerList = $shippmentPlanService->getContainerCodeByStarDate($context, $result, $startDate);
	$output = json_encode($containerList);
	print_r($output);
}
?>